package item

import (
	"clockIn/internal/service"
	"context"

	"clockIn/api/item/v1"
)

func (c *ControllerV1) Edit(ctx context.Context, req *v1.EditReq) (res *v1.EditRes, err error) {
	req.ItemCreateModel.Cover = "https://tuku.ycygame.cn/anhaowu/wdh2236.jpg"
	err = service.Item().Edit(ctx, &req.ItemCreateModel)
	return
}
